In [2]:
Requirement already satisfied: Keras-Preprocessing in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (1.1.2)
Requirement already satisfied: numpy>=1.9.1 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from Keras-Preprocessing) (1.24.3)
Requirement already satisfied: six>=1.9.0 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from Keras-Preprocessing) (1.16.0)
In [4]:
Requirement already satisfied: ktrain in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (0.41.3)
Requirement already satisfied: scikit-learn in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from ktrain) (1.3.0)
Requirement already satisfied: matplotlib>=3.0.0 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from ktrain) (3.7.2)
Requirement already satisfied: pandas>=1.0.1 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from ktrain) (2.0.3)
Requirement already satisfied: fastprogress>=0.1.21 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from ktrain) (1.0.3)
Requirement already satisfied: requests in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from ktrain) (2.31.0)
Requirement already satisfied: joblib in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from ktrain) (1.2.0)
Requirement already satisfied: packaging in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from ktrain) (23.1)
Requirement already satisfied: langdetect in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from ktrain) (1.0.9)
Requirement already satisfied: jieba in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from ktrain) (0.42.1)
Requirement already satisfied: charset-normalizer in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from ktrain) (2.0.4)
Requirement already satisfied: chardet in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from ktrain) (4.0.0)
Requirement already satisfied: syntok>1.3.3 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from ktrain) (1.4.4)
Requirement already satisfied: tika in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from ktrain) (2.6.0)
Requirement already satisfied: transformers in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from ktrain) (4.32.1)
Requirement already satisfied: sentencepiece in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from ktrain) (0.2.0)
Requirement already satisfied: keras-bert>=0.86.0 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from ktrain) (0.89.0)
Requirement already satisfied: whoosh in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from ktrain) (2.7.4)
Requirement already satisfied: numpy in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from keras-bert>=0.86.0->ktrain) (1.24.3)
Requirement already satisfied: keras-transformer==0.40.0 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from keras-bert>=0.86.0->ktrain) (0.40.0)
Requirement already satisfied: keras-pos-embd==0.13.0 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from keras-transformer==0.40.0->keras-bert>=0.86.0->ktrain) (0.13.0)
Requirement already satisfied: keras-multi-head==0.29.0 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from keras-transformer==0.40.0->keras-bert>=0.86.0->ktrain) (0.29.0)
Requirement already satisfied: keras-layer-normalization==0.16.0 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from keras-transformer==0.40.0->keras-bert>=0.86.0->ktrain) (0.16.0)
Requirement already satisfied: keras-position-wise-feed-forward==0.8.0 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from keras-transformer==0.40.0->keras-bert>=0.86.0->ktrain) (0.8.0)
Requirement already satisfied: keras-embed-sim==0.10.0 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from keras-transformer==0.40.0->keras-bert>=0.86.0->ktrain) (0.10.0)
Requirement already satisfied: keras-self-attention==0.51.0 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from keras-multi-head==0.29.0->keras-transformer==0.40.0->keras-bert>=0.86.0->ktrain) (0.51.0)
Requirement already satisfied: contourpy>=1.0.1 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from matplotlib>=3.0.0->ktrain) (1.0.5)
Requirement already satisfied: cycler>=0.10 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from matplotlib>=3.0.0->ktrain) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from matplotlib>=3.0.0->ktrain) (4.25.0)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from matplotlib>=3.0.0->ktrain) (1.4.4)
Requirement already satisfied: pillow>=6.2.0 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from matplotlib>=3.0.0->ktrain) (9.4.0)
Requirement already satisfied: pyparsing<3.1,>=2.3.1 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from matplotlib>=3.0.0->ktrain) (3.0.9)
Requirement already satisfied: python-dateutil>=2.7 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from matplotlib>=3.0.0->ktrain) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from pandas>=1.0.1->ktrain) (2023.3.post1)
Requirement already satisfied: tzdata>=2022.1 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from pandas>=1.0.1->ktrain) (2023.3)
Requirement already satisfied: regex>2016 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from syntok>1.3.3->ktrain) (2022.7.9)
Requirement already satisfied: six in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from langdetect->ktrain) (1.16.0)
Requirement already satisfied: idna<4,>=2.5 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from requests->ktrain) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from requests->ktrain) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from requests->ktrain) (2023.7.22)
Requirement already satisfied: scipy>=1.5.0 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from scikit-learn->ktrain) (1.11.1)
Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from scikit-learn->ktrain) (2.2.0)
Requirement already satisfied: setuptools in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from tika->ktrain) (68.0.0)
Requirement already satisfied: filelock in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from transformers->ktrain) (3.9.0)
Requirement already satisfied: huggingface-hub<1.0,>=0.15.1 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from transformers->ktrain) (0.15.1)
Requirement already satisfied: pyyaml>=5.1 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from transformers->ktrain) (6.0)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from transformers->ktrain) (0.13.2)
Requirement already satisfied: safetensors>=0.3.1 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from transformers->ktrain) (0.3.2)
Requirement already satisfied: tqdm>=4.27 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from transformers->ktrain) (4.65.0)
Requirement already satisfied: fsspec in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from huggingface-hub<1.0,>=0.15.1->transformers->ktrain) (2023.4.0)
Requirement already satisfied: typing-extensions>=3.7.4.3 in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from huggingface-hub<1.0,>=0.15.1->transformers->ktrain) (4.7.1)
Requirement already satisfied: colorama in c:\users\guptasau\appdata\local\anaconda3\lib\site-packages (from tqdm>=4.27->transformers->ktrain) (0.4.6)
[nltk_data] Downloading package stopwords to
[nltk_data]     C:\Users\GuptaSau\AppData\Roaming\nltk_data...
[nltk_data]   Package stopwords is already up-to-date!
[nltk_data] Downloading package wordnet to
[nltk_data]     C:\Users\GuptaSau\AppData\Roaming\nltk_data...
[nltk_data]   Package wordnet is already up-to-date!
[nltk_data] Downloading package omw-1.4 to
[nltk_data]     C:\Users\GuptaSau\AppData\Roaming\nltk_data...
[nltk_data]   Package omw-1.4 is already up-to-date!
[nltk_data] Downloading package gutenberg to
[nltk_data]     C:\Users\GuptaSau\AppData\Roaming\nltk_data...
[nltk_data]   Package gutenberg is already up-to-date!
[nltk_data] Downloading package brown to
[nltk_data]     C:\Users\GuptaSau\AppData\Roaming\nltk_data...
[nltk_data]   Package brown is already up-to-date!
[nltk_data] Downloading package reuters to
[nltk_data]     C:\Users\GuptaSau\AppData\Roaming\nltk_data...
[nltk_data]   Package reuters is already up-to-date!
[nltk_data] Downloading package words to
[nltk_data]     C:\Users\GuptaSau\AppData\Roaming\nltk_data...
[nltk_data]   Package words is already up-to-date!
Out[4]:
True
In [3]:
In [7]:
Out[7]:
Tweet Suicide
0 making some lunch Not Suicide post
1 @Alexia You want his money. Not Suicide post
2 @dizzyhrvy that crap took me forever to put to... Potential Suicide post
3 @jnaylor #kiwitweets Hey Jer! Since when did y... Not Suicide post
4 Trying out &quot;Delicious Library 2&quot; wit... Not Suicide post
... ... ...
1782 i have forgotten how much i love my Nokia N95-1 Not Suicide post
1783 Starting my day out with a positive attitude! ... Not Suicide post
1784 @belledame222 Hey, it's 5 am...give a girl som... Not Suicide post
1785 2 drunken besties stumble into my room and we ... Not Suicide post
1786 @dancingbonita &quot;I friggin love you!!!&quo... Not Suicide post

1787 rows × 2 columns

In [8]:
In [9]:
In [10]:
Out[10]:
Tweet Suicide lower_case special_word
0 making some lunch Not Suicide post making some lunch [making, some, lunch]
1 @Alexia You want his money. Not Suicide post @alexia you want his money. [alexia, you, want, his, money]
2 @dizzyhrvy that crap took me forever to put to... Potential Suicide post @dizzyhrvy that crap took me forever to put to... [dizzyhrvy, that, crap, took, me, forever, to,...
3 @jnaylor #kiwitweets Hey Jer! Since when did y... Not Suicide post @jnaylor #kiwitweets hey jer! since when did y... [jnaylor, kiwitweets, hey, jer, since, when, d...
4 Trying out &quot;Delicious Library 2&quot; wit... Not Suicide post trying out &quot;delicious library 2&quot; wit... [trying, out, quot, delicious, library, 2, quo...
... ... ... ... ...
1782 i have forgotten how much i love my Nokia N95-1 Not Suicide post i have forgotten how much i love my nokia n95-1 [i, have, forgotten, how, much, i, love, my, n...
1783 Starting my day out with a positive attitude! ... Not Suicide post starting my day out with a positive attitude! ... [starting, my, day, out, with, a, positive, at...
1784 @belledame222 Hey, it's 5 am...give a girl som... Not Suicide post @belledame222 hey, it's 5 am...give a girl som... [belledame222, hey, it, s, 5, am, give, a, gir...
1785 2 drunken besties stumble into my room and we ... Not Suicide post 2 drunken besties stumble into my room and we ... [2, drunken, besties, stumble, into, my, room,...
1786 @dancingbonita &quot;I friggin love you!!!&quo... Not Suicide post @dancingbonita &quot;i friggin love you!!!&quo... [dancingbonita, quot, i, friggin, love, you, q...

1787 rows × 4 columns

In [11]:
Out[11]:
Tweet Suicide lower_case special_word stop_words
0 making some lunch Not Suicide post making some lunch [making, some, lunch] ['making', 'some', 'lunch']
1 @Alexia You want his money. Not Suicide post @alexia you want his money. [alexia, you, want, his, money] ['alexia', 'you', 'want', 'money']
2 @dizzyhrvy that crap took me forever to put to... Potential Suicide post @dizzyhrvy that crap took me forever to put to... [dizzyhrvy, that, crap, took, me, forever, to,... ['dizzyhrvy', 'crap', 'took', 'forever', 'put'...
3 @jnaylor #kiwitweets Hey Jer! Since when did y... Not Suicide post @jnaylor #kiwitweets hey jer! since when did y... [jnaylor, kiwitweets, hey, jer, since, when, d... ['jnaylor', 'kiwitweets', 'hey', 'jer', 'since...
4 Trying out &quot;Delicious Library 2&quot; wit... Not Suicide post trying out &quot;delicious library 2&quot; wit... [trying, out, quot, delicious, library, 2, quo... ['trying', 'quot', 'delicious', 'library', '2'...
... ... ... ... ... ...
1782 i have forgotten how much i love my Nokia N95-1 Not Suicide post i have forgotten how much i love my nokia n95-1 [i, have, forgotten, how, much, i, love, my, n... ['forgotten', 'much', 'love', 'my', 'nokia', '...
1783 Starting my day out with a positive attitude! ... Not Suicide post starting my day out with a positive attitude! ... [starting, my, day, out, with, a, positive, at... ['starting', 'my', 'day', 'positive', 'attitud...
1784 @belledame222 Hey, it's 5 am...give a girl som... Not Suicide post @belledame222 hey, it's 5 am...give a girl som... [belledame222, hey, it, s, 5, am, give, a, gir... ['belledame222', 'hey', '5', 'give', 'girl', '...
1785 2 drunken besties stumble into my room and we ... Not Suicide post 2 drunken besties stumble into my room and we ... [2, drunken, besties, stumble, into, my, room,... ['2', 'drunken', 'besties', 'stumble', 'my', '...
1786 @dancingbonita &quot;I friggin love you!!!&quo... Not Suicide post @dancingbonita &quot;i friggin love you!!!&quo... [dancingbonita, quot, i, friggin, love, you, q... ['dancingbonita', 'quot', 'friggin', 'love', '...

1787 rows × 5 columns

In [12]:
Out[12]:
Tweet Suicide lower_case special_word stop_words short_word string
0 making some lunch Not Suicide post making some lunch [making, some, lunch] ['making', 'some', 'lunch'] [making, some, lunch] making some lunch
1 @Alexia You want his money. Not Suicide post @alexia you want his money. [alexia, you, want, his, money] ['alexia', 'you', 'want', 'money'] [alexia, you, want, money] alexia you want money
2 @dizzyhrvy that crap took me forever to put to... Potential Suicide post @dizzyhrvy that crap took me forever to put to... [dizzyhrvy, that, crap, took, me, forever, to,... ['dizzyhrvy', 'crap', 'took', 'forever', 'put'... [dizzyhrvy, crap, took, forever, put, together... dizzyhrvy crap took forever put together iâ go...
3 @jnaylor #kiwitweets Hey Jer! Since when did y... Not Suicide post @jnaylor #kiwitweets hey jer! since when did y... [jnaylor, kiwitweets, hey, jer, since, when, d... ['jnaylor', 'kiwitweets', 'hey', 'jer', 'since... [jnaylor, kiwitweets, hey, jer, since, did, yo... jnaylor kiwitweets hey jer since did you start...
4 Trying out &quot;Delicious Library 2&quot; wit... Not Suicide post trying out &quot;delicious library 2&quot; wit... [trying, out, quot, delicious, library, 2, quo... ['trying', 'quot', 'delicious', 'library', '2'... [trying, quot, delicious, library, quot, mixed... trying quot delicious library quot mixed resul...
... ... ... ... ... ... ... ...
1782 i have forgotten how much i love my Nokia N95-1 Not Suicide post i have forgotten how much i love my nokia n95-1 [i, have, forgotten, how, much, i, love, my, n... ['forgotten', 'much', 'love', 'my', 'nokia', '... [forgotten, much, love, my, nokia, n95] forgotten much love my nokia n95
1783 Starting my day out with a positive attitude! ... Not Suicide post starting my day out with a positive attitude! ... [starting, my, day, out, with, a, positive, at... ['starting', 'my', 'day', 'positive', 'attitud... [starting, my, day, positive, attitude, great,... starting my day positive attitude great watch ...
1784 @belledame222 Hey, it's 5 am...give a girl som... Not Suicide post @belledame222 hey, it's 5 am...give a girl som... [belledame222, hey, it, s, 5, am, give, a, gir... ['belledame222', 'hey', '5', 'give', 'girl', '... [belledame222, hey, give, girl, some, credit, ... belledame222 hey give girl some credit trying
1785 2 drunken besties stumble into my room and we ... Not Suicide post 2 drunken besties stumble into my room and we ... [2, drunken, besties, stumble, into, my, room,... ['2', 'drunken', 'besties', 'stumble', 'my', '... [drunken, besties, stumble, my, room, run, aro... drunken besties stumble my room run around sob...
1786 @dancingbonita &quot;I friggin love you!!!&quo... Not Suicide post @dancingbonita &quot;i friggin love you!!!&quo... [dancingbonita, quot, i, friggin, love, you, q... ['dancingbonita', 'quot', 'friggin', 'love', '... [dancingbonita, quot, friggin, love, you, quot... dancingbonita quot friggin love you quot ron b...

1787 rows × 7 columns

In [13]:
Out[13]:
Tweet Suicide lower_case special_word stop_words short_word string nonEnglish
0 making some lunch Not Suicide post making some lunch [making, some, lunch] ['making', 'some', 'lunch'] [making, some, lunch] making some lunch making some lunch
1 @Alexia You want his money. Not Suicide post @alexia you want his money. [alexia, you, want, his, money] ['alexia', 'you', 'want', 'money'] [alexia, you, want, money] alexia you want money alexia you want money
2 @dizzyhrvy that crap took me forever to put to... Potential Suicide post @dizzyhrvy that crap took me forever to put to... [dizzyhrvy, that, crap, took, me, forever, to,... ['dizzyhrvy', 'crap', 'took', 'forever', 'put'... [dizzyhrvy, crap, took, forever, put, together... dizzyhrvy crap took forever put together iâ go... crap took forever put together going go sleep ...
3 @jnaylor #kiwitweets Hey Jer! Since when did y... Not Suicide post @jnaylor #kiwitweets hey jer! since when did y... [jnaylor, kiwitweets, hey, jer, since, when, d... ['jnaylor', 'kiwitweets', 'hey', 'jer', 'since... [jnaylor, kiwitweets, hey, jer, since, did, yo... jnaylor kiwitweets hey jer since did you start... hey since did you start twittering
4 Trying out &quot;Delicious Library 2&quot; wit... Not Suicide post trying out &quot;delicious library 2&quot; wit... [trying, out, quot, delicious, library, 2, quo... ['trying', 'quot', 'delicious', 'library', '2'... [trying, quot, delicious, library, quot, mixed... trying quot delicious library quot mixed resul... trying quot delicious library quot mixed resul...
... ... ... ... ... ... ... ... ...
1782 i have forgotten how much i love my Nokia N95-1 Not Suicide post i have forgotten how much i love my nokia n95-1 [i, have, forgotten, how, much, i, love, my, n... ['forgotten', 'much', 'love', 'my', 'nokia', '... [forgotten, much, love, my, nokia, n95] forgotten much love my nokia n95 forgotten much love my
1783 Starting my day out with a positive attitude! ... Not Suicide post starting my day out with a positive attitude! ... [starting, my, day, out, with, a, positive, at... ['starting', 'my', 'day', 'positive', 'attitud... [starting, my, day, positive, attitude, great,... starting my day positive attitude great watch ... starting my day positive attitude great watch ...
1784 @belledame222 Hey, it's 5 am...give a girl som... Not Suicide post @belledame222 hey, it's 5 am...give a girl som... [belledame222, hey, it, s, 5, am, give, a, gir... ['belledame222', 'hey', '5', 'give', 'girl', '... [belledame222, hey, give, girl, some, credit, ... belledame222 hey give girl some credit trying hey give girl some credit trying
1785 2 drunken besties stumble into my room and we ... Not Suicide post 2 drunken besties stumble into my room and we ... [2, drunken, besties, stumble, into, my, room,... ['2', 'drunken', 'besties', 'stumble', 'my', '... [drunken, besties, stumble, my, room, run, aro... drunken besties stumble my room run around sob... drunken stumble my room run around sober drunk...
1786 @dancingbonita &quot;I friggin love you!!!&quo... Not Suicide post @dancingbonita &quot;i friggin love you!!!&quo... [dancingbonita, quot, i, friggin, love, you, q... ['dancingbonita', 'quot', 'friggin', 'love', '... [dancingbonita, quot, friggin, love, you, quot... dancingbonita quot friggin love you quot ron b... quot love you quot riding unicorn

1787 rows × 8 columns

In [14]:
Out[14]:
Tweet Suicide lower_case special_word stop_words short_word string nonEnglish new_tweets
0 making some lunch Not Suicide post making some lunch [making, some, lunch] ['making', 'some', 'lunch'] [making, some, lunch] making some lunch making some lunch making some lunch
1 @Alexia You want his money. Not Suicide post @alexia you want his money. [alexia, you, want, his, money] ['alexia', 'you', 'want', 'money'] [alexia, you, want, money] alexia you want money alexia you want money alexia you want money
2 @dizzyhrvy that crap took me forever to put to... Potential Suicide post @dizzyhrvy that crap took me forever to put to... [dizzyhrvy, that, crap, took, me, forever, to,... ['dizzyhrvy', 'crap', 'took', 'forever', 'put'... [dizzyhrvy, crap, took, forever, put, together... dizzyhrvy crap took forever put together iâ go... crap took forever put together going go sleep ... crap took forever put together going go sleep day
3 @jnaylor #kiwitweets Hey Jer! Since when did y... Not Suicide post @jnaylor #kiwitweets hey jer! since when did y... [jnaylor, kiwitweets, hey, jer, since, when, d... ['jnaylor', 'kiwitweets', 'hey', 'jer', 'since... [jnaylor, kiwitweets, hey, jer, since, did, yo... jnaylor kiwitweets hey jer since did you start... hey since did you start twittering hey since did you start twittering
4 Trying out &quot;Delicious Library 2&quot; wit... Not Suicide post trying out &quot;delicious library 2&quot; wit... [trying, out, quot, delicious, library, 2, quo... ['trying', 'quot', 'delicious', 'library', '2'... [trying, quot, delicious, library, quot, mixed... trying quot delicious library quot mixed resul... trying quot delicious library quot mixed resul... trying quot delicious library quot mixed resul...
... ... ... ... ... ... ... ... ... ...
1782 i have forgotten how much i love my Nokia N95-1 Not Suicide post i have forgotten how much i love my nokia n95-1 [i, have, forgotten, how, much, i, love, my, n... ['forgotten', 'much', 'love', 'my', 'nokia', '... [forgotten, much, love, my, nokia, n95] forgotten much love my nokia n95 forgotten much love my forgotten much love my
1783 Starting my day out with a positive attitude! ... Not Suicide post starting my day out with a positive attitude! ... [starting, my, day, out, with, a, positive, at... ['starting', 'my', 'day', 'positive', 'attitud... [starting, my, day, positive, attitude, great,... starting my day positive attitude great watch ... starting my day positive attitude great watch ... starting my day positive attitude great watch ...
1784 @belledame222 Hey, it's 5 am...give a girl som... Not Suicide post @belledame222 hey, it's 5 am...give a girl som... [belledame222, hey, it, s, 5, am, give, a, gir... ['belledame222', 'hey', '5', 'give', 'girl', '... [belledame222, hey, give, girl, some, credit, ... belledame222 hey give girl some credit trying hey give girl some credit trying hey give girl some credit trying
1785 2 drunken besties stumble into my room and we ... Not Suicide post 2 drunken besties stumble into my room and we ... [2, drunken, besties, stumble, into, my, room,... ['2', 'drunken', 'besties', 'stumble', 'my', '... [drunken, besties, stumble, my, room, run, aro... drunken besties stumble my room run around sob... drunken stumble my room run around sober drunk... drunken stumble my room run around sober drunk...
1786 @dancingbonita &quot;I friggin love you!!!&quo... Not Suicide post @dancingbonita &quot;i friggin love you!!!&quo... [dancingbonita, quot, i, friggin, love, you, q... ['dancingbonita', 'quot', 'friggin', 'love', '... [dancingbonita, quot, friggin, love, you, quot... dancingbonita quot friggin love you quot ron b... quot love you quot riding unicorn quot love you quot riding unicorn

1787 rows × 9 columns

In [15]:
In [16]:
Out[16]:
<Axes: xlabel='Suicide', ylabel='count'>
In [17]:
0200400100300500willcangoodhatetireddortlikecoyoudaygetdiedontlifenotmyselfhttpswantmy
Common_wordsmyyouwantcohttpslikemyselfrtnotdolifetireddonthatediegoodgetcandaywillCommmon words in selected textcountCommon_words
050100150200250willampgreatgetcomquotdohehttpcanlovedaytodaylikenotrtwantgoodmyyou
Common_wordsyoumygoodwantrtnotliketodaydaylovecanhttphedoquotcomgetgreatampwillMost commmon words in positive postscountCommon_words
0100200300killanymorefeelfuckingnotdorttireddieyouhatelikedontlifemyselfhttpscowantmy
Common_wordsmywantcohttpsmyselflifedontlikehateyoudietiredrtdonotfuckingfeelanymorekillMost commmon words in suicidal postscountCommon_words
In [18]:
In [19]:
In [20]:
In [ ]: